<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/public/taglib.jsp"%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<%@ include file="/WEB-INF/page/public/meta.jsp"%>
</head>
<body>
  
 <div style="margin: 20px;">     
    <div class="layui-btn-group listTable">
	  <button class="layui-btn" data-type="getCheckData">获取多选内容</button> 
	</div>
	<table class="layui-table" lay-data="{ url:'/users/list', method:'post',  page:true, id:'listTable'}" lay-filter="list">
	  <thead>
	    <tr>
	      <th lay-data="{type:'checkbox', fixed: 'left'}"></th>
	      							   <th lay-data="{field:'id'}"></th>
		    			 			   <th lay-data="{field:'name'}">登录名</th>
		    			 			   <th lay-data="{field:'email'}"></th>
		    			 			   <th lay-data="{field:'password'}"></th>
		    			 			   <th lay-data="{field:'mobile'}"></th>
		    			 			   <th lay-data="{field:'header'}">用户头像</th>
		    			 			   <th lay-data="{field:'shareImage'}"></th>
		    			 			   <th lay-data="{field:'scale'}"></th>
		    			 			   <th lay-data="{field:'nickname'}">昵称</th>
		    			 			   <th lay-data="{field:'openid'}">openid</th>
		    			 			   <th lay-data="{field:'level'}">用户角色</th>
		    			 			   <th lay-data="{field:'status'}">账户状态</th>
		    			 			   <th lay-data="{field:'parentId'}">上级ID</th>
		    			 			   <th lay-data="{field:'member'}">文章状态 0 非会员 1 会员</th>
		    			 			   <th lay-data="{field:'memberBuyTime'}"></th>
		    			 			   <th lay-data="{field:'money'}">剩余佣金</th>
		    			 			   <th lay-data="{field:'moneyAll'}">总佣金</th>
		    			 			   <th lay-data="{field:'rememberToken'}"></th>
		    			 			   <th lay-data="{field:'createdAt'}"></th>
		    			 			   <th lay-data="{field:'updatedAt'}"></th>
		    	      <th lay-data="{fixed: 'right', align:'center', toolbar: '#bar'}">操作</th>
	    </tr>
	  </thead>
	</table>
	<script type="text/html" id="bar">
 	  <a class="layui-btn layui-btn-xs" lay-event="show" >查看</a>
 	  <a class="layui-btn layui-btn-xs" lay-event="edit" >修改</a>
 	  <a class="layui-btn layui-btn-xs" lay-event="del" >删除</a>
	</script> 
</div>	
	 
 <script src="/js/generator/users.js?<%=System.currentTimeMillis()%>"></script>  
</body>
</html>

 